package com.xx.pmis.services;

import java.util.List;

import com.xx.pmis.model.Wine;

public interface WineService {
	public void saveOrUpdateWine(Wine wine) throws Exception;
	public void saveWine(Wine wine) throws Exception;
	public void deleteWine(Wine wine) throws Exception;
	// 根据葡萄酒ID查询该葡萄酒
	public Wine getWineByWineID(String wineID) throws Exception;    
	public List<Wine> getAllWineByCondition(String hql) throws Exception;
	// 根据条件查询,分页显示
	public List<Wine> getAllWineByConditionByPage(String hql, int currentPage, int lineSize) throws Exception;
	// 礼品数
	public int getCountOfWineByCondition(String hql) throws Exception;


}
